laravel carbon first day of month

42

laravel carbon first day of month -

$startDate = Carbon::now(); //returns current day
$firstDay = $startDate->firstOfMonth();  

Comments

Submit
0 Comments